<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script>
  let obj = {
    name: "wu",
    age: '18'
  }
  let str = "我的名字叫做  " + obj.name + "  我的年龄:  " + obj.age;
  // 之前的字符串拼接
  console.log(str);
  // es6中。模板字符串
  let str6 = `es6中我的名字叫做sss：${obj.name} 我的年龄sss:${obj.name}`
  console.log(str6);
</script>

<body>

</body>

</html>